package com.common.vo;

import com.forum.pojo.talk.TalkPosts;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Tsing
 * 帖子信息Vo
 */
@Data
@NoArgsConstructor
public class PostsInfoVo extends TalkPosts {
    private String nickname;
    private String avatar;
    /**评论数量**/
    private int commentNum;

    public PostsInfoVo(String nickname,String avatar,int commentNum){
        this.nickname=nickname;
        this.avatar=avatar;
        this.commentNum=commentNum;
    }
}
